package org.chen.common.export.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ExportConfigDTO {
    
    @NotBlank(message = "默认路径不能为空")
    private String defaultPath;
    
    @NotBlank(message = "文件名格式不能为空")
    private String nameFormat;
    
    private String customFormat;
    
    private Boolean autoOpen;
    
    private String format; // xlsx, csv
    
    private String encoding; // UTF-8
    
    private Long maxFileSize;
    
    private Boolean enabled;
}